{{ elk_path.logs }}/nginx/*.log
{{ elk_path.logs }}/nginx/*/*.log
{
    missingok
    rotate 14
    compress
    minsize 250M
    delaycompress
    notifempty
    create 0640 {{ elk_user }} {{ elk_group }}
    sharedscripts
    postrotate
        [ -f {{ elk_path.logs }}/nginx/nginx.pid ] && systemctl reload nginx > /dev/null
    endscript
}
